package com.teamone.etl.apimanager.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;

/**
 (AlarmApi)表实体类

 @author makejava
 @since 2021-01-21 20:38:32 */
public class AlarmApi extends Model<AlarmApi> {
    /**
     主键id
     */
    private Integer id;
    /**
     接口id
     */
    private Integer apiId;
    /**
     预警手机号id
     */
    private Integer alarmPhoneId;
    /**
     预警类型 0次数 1天数
     */
    private Integer alarmType;
    /**
     预警阈值
     */
    private Integer alarmThreshold;

    public Integer getId () {
        return id;
    }

    public void setId (Integer id) {
        this.id = id;
    }

    public Integer getApiId () {
        return apiId;
    }

    public void setApiId (Integer apiId) {
        this.apiId = apiId;
    }

    public Integer getAlarmPhoneId () {
        return alarmPhoneId;
    }

    public void setAlarmPhoneId (Integer alarmPhoneId) {
        this.alarmPhoneId = alarmPhoneId;
    }

    public Integer getAlarmType () {
        return alarmType;
    }

    public void setAlarmType (Integer alarmType) {
        this.alarmType = alarmType;
    }

    public Integer getAlarmThreshold () {
        return alarmThreshold;
    }

    public void setAlarmThreshold (Integer alarmThreshold) {
        this.alarmThreshold = alarmThreshold;
    }

    /**
     获取主键值

     @return 主键值
     */
    @Override
    protected Serializable pkVal () {
        return this.id;
    }
}